include $(LITEOSTOPDIR)/config.mk

MODULE_NAME     := $(notdir $(CURDIR))

LOCAL_SRCS_$(LOSCFG_ARM_GIC_V2) += arm_gic_v2.c
LOCAL_SRCS_$(LOSCFG_ARM_GIC_V3) += arm_gic_v3.c
LOCAL_SRCS_$(LOSCFG_CORTEX_M_NVIC) += arm_nvic.c
LOCAL_SRCS_$(LOSCFG_PLATFORM_BSP_VIC) += csky_vic.c
LOCAL_SRCS_$(LOSCFG_PLATFORM_BSP_RISCV_PLIC) += riscv_plic.c
LOCAL_SRCS_$(LOSCFG_PLATFORM_BSP_RISCV_ECLIC) += riscv_eclic.c
LOCAL_SRCS_$(LOSCFG_PLATFORM_BSP_XTENSA_XEA3) += xtensa_xea3.c
LOCAL_SRCS_$(LOSCFG_XEA2_INT_CONTROLLER) += xtensa_xea2.c
LOCAL_SRCS_$(LOSCFG_PLATFORM_ARM_CONTROL) += arm_control.c
LOCAL_SRCS_$(LOSCFG_LX6_INT_CONTROLLER) += xtensa_lx6.c

LOCAL_SRCS = $(LOCAL_SRCS_y)

LOCAL_FLAGS := $(PLATFORM_INCLUDE) $(PLATFORM_DEFS) $(LITEOS_GCOV_OPTS)

include $(MODULE)
